package com.pc.contants;

public enum GlobalConstants {
    SYSTEM_ERR("系统异常了，请程序员维护!","10000"),
    USERNAME_ERR("用户名错误","10001"),
    PASSWORD_ERR("密码错误","10002"),
    USERNAME_ISNULL("当前用户不存在","10003");

    private String message;
    private String code;

    GlobalConstants(String message, String code) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public String getCode() {
        return code;
    }
}
